package org.nf.ssm.service;

import com.github.pagehelper.PageInfo;
import org.nf.ssm.domain.Book;
import org.nf.ssm.web.vo.TypeVO;

import java.util.List;

/**
 * @author zhu
 * @date 2024-10-17
 */
public interface BookService {
    PageInfo<Book> getAllBook(Integer pageNum, Integer pageSize);

    void addBook(Book book);

    void updateBook(Book book);

    void deleteBook(Integer bookId);

    List<TypeVO> getTypeList();
}
